<?php
class FinalWork extends AppModel {
   var $name = 'FinalWork';
   var $belongsTo = array(
		'Student' => array(
		'className' => 'Student',
		'foreignKey' => 'student_id'
		),
		'Teacher' => array(
		'className' => 'Teacher',
		'foreignKey' => 'teacher_id'
		),
		'Teacher2' => array(
		'className' => 'Teacher',
		'foreignKey' => 'co_orientador_cpf'
		),
		'ProjectType' => array(
		'className' => 'ProjectType',
		'foreignKey' => 'project_type_id'
		)
		
	);
	var $hasMany = 'ExaminingBoard';
}
?>
